package com.apimarket.util.kong;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

//这个类主要用于读取配置文件里kong的admin地址和端口
@ConfigurationProperties(prefix = "spring.kong")
public abstract class KongBase {
    private String baseUrl;

    public KongBase() {
    }

    public KongBase(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }
}
